#pragma once
#include "vehicle.h"
class Car : public Vehicle
{
protected:
	int seats;
	int doors;
public:

	Car(void)
	{
		this->seats = 0;
		this->doors = 0;
	}

	Car( string brand, int year, double purchasingPrice, double sellingPrice, int seats, int doors )
	{
		this->brand = brand;
		this->year = year;
		this->purchasingPrice = purchasingPrice;
		this->sellingPrice = sellingPrice;
		this->seats = seats;
		this->doors = doors;
	}

	~Car(void)
	{
	}

	void Print( ostream& out )
	{
		out << "Car:" << endl;
		out << "Brand - " << this->GetBrand() << endl;
		out << "Year - " << this->GetYear() << endl;
		out << "Purchasing price - " << this->GetPurchasingPrice() << " Thousand SEK" << endl;
		out << "Selling Price - " << this->GetSellingPrice() << " Thousand SEK" << endl;
		out << "Seats - " << this->GetSeats() << endl;
		out << "Doors - " << this->GetDoors() << endl << endl;
	}

#pragma region Getters
	int GetSeats() { return this->seats; }
	int GetDoors() { return this->doors; }
#pragma endregion

#pragma region Setters
	void SetSeats( int seats ) { this->seats = seats; }
	void SetDoors( int doors ) { this->doors = doors; }  
#pragma endregion

};

